package com.hmkx.springflux.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import reactor.core.publisher.Mono;

/**
 * @author hht
 * @ClassName BasicController
 * @Description TODO
 * @Date 2019/4/9 17:50
 * @VERSION 1.0
 */
@RestController
public class BasicController {
    @GetMapping("/hello_world")
    public Mono<String> sayHelloWorld() {
        return Mono.just("Hello World");
    }
}
